package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.WmSenstitiveDto;
import com.heima.model.wemedia.pojos.WmSensitive;

public interface WmSensitiveService extends IService<WmSensitive> {
    /*
    * 敏感词列表查询
    * */
    ResponseResult selectSensitive(WmSenstitiveDto dto);
    /*
    敏感词保存
    */

    public ResponseResult saveSensitive(WmSensitive wmSensitive);
    /*
    * 敏感词修改
    * */
    public ResponseResult updateSensitive(WmSensitive wmSensitive);
    /*
    * 敏感词的删除
    * */
    public ResponseResult deleteSensitive(Integer id);
}
